package com.dog.view.controller;

import org.springframework.context.annotation.Scope;
import org.springframework.stereotype.Controller;
import org.springframework.web.context.WebApplicationContext;

import javax.annotation.PostConstruct;

/**
 * User: Kuttubek Aidaraliev
 * Date: 19.05.2010
 * Time: 14:13:55
 */
@Controller
@Scope(value= WebApplicationContext.SCOPE_SESSION)
public class SkinBeanController {

    private String skin;

    public SkinBeanController() {
    }

    @PostConstruct
    protected void initialized(){
        setSkin("darkX");
    }

    public String getSkin() {
        return skin;
    }

    public void setSkin(String skin) {
        this.skin = skin;
    }

    public String glassSkin () {
		skin = "glassX";
		return null;
	}

	public String darkSkin() {
		skin = "darkX";
		return null;
	}

	public String wineSkin () {
		skin = "wine";
		return null;
	}

	public String blueSkySkin () {
		skin = "blueSky";
		return null;
	}

    public String plainSkin () {
		skin = "plain";
		return null;
	}

    public String japanCherrySkin(){
        skin = "japanCherry";
		return null;
    }

    public String rubySkin(){
        skin = "ruby";
		return null;
    }

    public String classicSkin(){
        skin = "classic";
		return null;
    }

    public String lagunaSkin(){
        skin = "laguna";
		return null;
    }

    public String deepMarineSkin(){
        skin = "deepMarine";
        return null;
    }

    public String emeraldTownSkin(){
        skin = "emeraldTown";
        return null;
    }

}
